package com.example.demo.Service;

import com.example.demo.Entity.User;

import java.util.List;

public interface UserService {
    User FindById(Integer id);
    User FindByName(String name);
    List<User> FindAll();
    void Save(User user);
    void DeleteById(Integer id);
    void Update(User user);
}
